home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_Netscape / NETHELP / IDXTOPIC.{_Q < prev    next >
Text File  |  1999-09-17  |  2KB  |  129 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2.  
  3. <!--
  4.  
  5. DESCRIPTION: Dynamically writes the links associated with each keyword.
  6.  
  7. NOTES:
  8.  
  9. -->
  10.  
  11.  
  12.  
  13. <HEAD>
  14.  
  15. <SCRIPT LANGUAGE = "JavaScript1.2">
  16.  
  17. function loadSheet() 
  18.  
  19. {
  20.       var platForm = navigator.platform;
  21.       
  22.     if ((platForm == "Win32")) {
  23.       var html = "<STYLE TYPE = 'text/javascript'>"
  24.       html += "tags.P.FontFamily =  'helvetica, arial';"
  25.       html += "tags.P.FontSize =  '14px';"
  26.       html += "tags.P.TextDecoration =  'none';"
  27.       html += "tags.P.marginTop =  '6';"
  28.       html += "tags.P.marginBottom =  '0';"
  29.       
  30.        html += "</STYLE>"
  31.         
  32.     }
  33.                 
  34.     else if ((platForm == "MacPPC") || (platform == "Mac68k")) {
  35.                 
  36.       var html = "<STYLE TYPE = 'text/javascript'>"
  37.       html += "tags.P.FontFamily =  'helvetica, arial';"
  38.       html += "tags.P.FontSize =  '12px';"
  39.       html += "tags.P.TextDecoration =  'none';"
  40.       html += "tags.P.marginTop =  '6';"
  41.       html += "tags.P.marginBottom =  '0';"
  42.       html += "</STYLE>"
  43.         
  44.     }
  45.                 
  46.     else {
  47.                 
  48.       var html = "<STYLE TYPE = 'text/javascript'>"
  49.       html += "tags.P.FontFamily =  'helvetica, arial';"
  50.       html += "tags.P.FontSize =  '12pt';"
  51.       html += "tags.P.TextDecoration =  'none';"
  52.       html += "tags.P.marginTop =  '0';"
  53.       html += "tags.P.marginBottom =  '0';"
  54.       
  55.        html += "</STYLE>"
  56.         
  57.     }
  58.  
  59. document.write(html);
  60.  
  61. }
  62. </SCRIPT>
  63.  
  64. <SCRIPT LANGUAGE = "JavaScript">
  65. loadSheet(navigator.platform);
  66. </SCRIPT>
  67.  
  68.  
  69.  
  70.  
  71. <SCRIPT LANGUAGE = "JavaScript1.2">
  72.  
  73.  
  74.  
  75. document.open()
  76.  
  77.  
  78.  
  79. document.write( "<BODY BGCOLOR = '#ffffff' LINK = '#000066' ALINK = '#000066' VLINK = '#000066'><P><B>Please select a topic:</B></P>" )
  80.  
  81.  
  82.  
  83. for ( var i = top.ToolFrame.startIndex; i <= top.ToolFrame.stopIndex; i++ ) {
  84.  
  85.    var topicIndex = top.ToolFrame.topicIndices[ i ]
  86.  
  87.  
  88.  
  89.    document.write( "<P>" )
  90.  
  91.    document.write( top.ToolFrame.topicStrings[ topicIndex ].link( top.ToolFrame.linkNames[ i ] ) )
  92.  
  93.    document.write( "</P>" )
  94.  
  95. }
  96.  
  97.  
  98.  
  99. document.write( "</BODY>" )
  100.  
  101.  
  102.  
  103. document.close()
  104.  
  105.  
  106.  
  107. // Ping system to let know the Index topics page is displayed.
  108.  
  109. top.SystemFrame.systemObj.idxTitlesUp()
  110.  
  111.  
  112.  
  113. // Bind events to global event handlers.
  114.  
  115. top.bindDocEvts( document )
  116.  
  117.  
  118.  
  119. </SCRIPT>
  120.  
  121.  
  122.  
  123. </HEAD>
  124.  
  125.  
  126.  
  127. <BODY></BODY>
  128.  
  129.